vmx/hvm: move mov-cr handling functions to generic HVM code
authorKeir Fraser <keir@xen.org>
Mon, 18 Apr 2011 08:47:12 +0000 (09:47 +0100)
committerKeir Fraser <keir@xen.org>
Mon, 18 Apr 2011 08:47:12 +0000 (09:47 +0100)
commite3623c9fd5a3a1d3bde1eb803e472de99eace901
tree3e3a74cf3266339fe73a8dd47ad886d4341fa518
parent9074aedd52560885193ab82247335f5ba2cdc52d
vmx/hvm: move mov-cr handling functions to generic HVM code

Currently the handling of CR accesses intercepts is done much
differently in SVM and VMX. For future usage move the VMX part
into the generic HVM path and use the exported functions.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/traps.c
xen/include/asm-x86/hvm/support.h
xen/include/asm-x86/hvm/vmx/vmx.h
xen/include/asm-x86/processor.h